/*    */ package com.cr.generator.util;
/*    */ 
/*    */ import java.util.Properties;
/*    */ import org.apache.velocity.app.Velocity;
/*    */ 
/*    */ public class VelocityInitializer {
/*    */   public static void initVelocity() {
/* 19 */     Properties p = new Properties();
/*    */     try {
/* 23 */       p.setProperty("file.resource.loader.class", "org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader");
/* 25 */       p.setProperty("input.encoding", "UTF-8");
/* 26 */       p.setProperty("output.encoding", "UTF-8");
/* 28 */       Velocity.init(p);
/* 30 */     } catch (Exception e) {
/* 32 */       throw new RuntimeException(e);
/*    */     } 
/*    */   }
/*    */ }


/* Location:              D:\tmp\creditorRights-admin\BOOT-INF\lib\creditorRights-generator-4.7.0.jar!\com\cr\generato\\util\VelocityInitializer.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */